/*
 * @(#)SimServerDVMRP.java	Robert Denda&Didier Gutacker
 */

/** 
 *
 * @author 	Robert Denda&Didier Gutacker
 * @version     1.1, 06.09.97
 * @see Server
 * @see SimulationServer
 * @see SimServerDVMRP
 */

import java.awt.*;

public final class SimServerDVMRP extends SimulationServer {
  static SimServerDVMRP thisServer;
 
  public SimServerDVMRP( int port ) {
    super(port);
    text = new TextMethodsEnglishDVMRP(); //Deutsch
    text.frameTitle = text.frameTitle ;
    f = new SimFrameDVMRP( text, this, this );
    f.pack();
    f.setSize(790,900);
    f.setVisible(true);
  } // SimServerDVMRP

  public static void main( String [] argv ) {
    try {
      if ( argv[0] != null ) {
	Integer port = null ;
	try {
	  port = new Integer( argv[0] );
	} catch(  NumberFormatException e ) {
	} // try
        System.out.println("port: "+port);
        new ResultMap();
	thisServer = new SimServerDVMRP( port.intValue() );
      } // if
    } catch( ArrayIndexOutOfBoundsException e ) {
      System.err.println( "Wrong number of arguments.  Synopsis:  SimulationServer <port>." );
    } // try
  } // SimServerDVMRP.main


} // SimServerDVMRP
